// In a TypeScript file, for example in `src/types/stock.ts`
export interface Stock {
    id: number; // 序号 - Stock ID
    code: string; // 代码 - Stock Code
    name: string; // 名称 - Stock Name
    type: string; // 类型
    market: string; // 市场
    relatedLink: string; // 相关链接 - Related Link
    latestPrice: number; // 最新价 - Latest Price
    changePercent: string; // 涨跌幅 - Change Percentage
    changeAmount: number; // 涨跌额 - Change Amount
    volume: number; // 成交量 - Volume (in hands)
    turnover: number; // 成交额 - Turnover (in currency)
    amplitude: string; // 振幅 - Amplitude
    high: number; // 最高 - Highest Price
    low: number; // 最低 - Lowest Price
    openToday: number; // 今开 - Opening Price Today
    lastClose: number; // 昨收 - Last Closing Price
    volumeRatio: string; // 量比 - Volume Ratio (Optional)
    turnoverRate: number; // 换手率 - Turnover Rate
    peRatio: string; // 市盈率 - Price-to-Earnings Ratio
    pbRatio: string; // 市净率 - Price-to-Book Ratio
    quantGrade: number; // 决策分
    addToFavorites: string; // 加自选 - Add to Favorites (Link)
}